package com.party.service.partylog;

import com.party.common.Page;
import com.party.model.PartyLog;

/**
 * Created with IntelliJ IDEA.
 * User: beyond
 * Date: 14-12-11
 * Time: 下午2:41
 * To change this template use File | Settings | File Templates.
 */
public interface PartyLogService {

    /**
     * 相关党员流程记录
     * 增删改查
     */
    public int addPartyLog(PartyLog partyLog);

    public int deletePartyLogByPrimaryKey(Integer id);

    public int deleteExamByIds(String ids);

    public PartyLog getPartyLogByPrimaryKey(Integer id);

    public int updatePartyLogByPrimaryKey(PartyLog partyLog);

    /**
     * 获得相关党员流程记录数据列表（分页）
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Page getPartyLogList(PartyLog partyLog,int pageSize, int pageNumber);
}
